<%@ page language="java" import="java.util.*" pageEncoding="EUC-KR"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'autocomplete.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script type="text/javascript" src="test/sample/js/mootools.js"></script>   
	<script type="text/javascript" src="test/sample/js/Autocompleter.js"></script> 
	<style>
	.autocompleter {
	border:.1em solid #e0e0e0;
	background:white;
	}
	.selected {
		background:#e0e0e0;
	}
	</style>
  </head>
  
  <body>
   <div class="noticias" style="width:300px;margin:0 auto;">
								<p>* Example : <em>Madrid, Barcelona, etc... Spain's states</em></p>
								<input name="searchKey" size="30" maxlength="20" id="searchKey" type="text" />
<br /><br /><br />

</div>

<script>
				var Options = {
				  method: 'GET',
					evalScripts:true,
					onloading: 'images/loading/ajaxLoading_s.gif',
					asynchronous: true,
					minchar: 2
					};

  		  var url = "http://localhost:8080/upisweb/searchPlaceName.uit?exclude=on";
				var auto = new Autocomplete('searchKey',url,Options);
</script>
</body>
</html>
